package com.rem.designPattern.adapter适配器.classAdapter;

/**
 * 被适配的类
 *
 * @author Rem
 * @date 2022-11-16
 */
public class Voltage220V {

    public int output220V() {
        int src = 220;
        System.out.println("电压=" + src + "V");
        return src;
    }
}